Skip to content

Comment cleanup (includes #131)#149

Open
thejpster wants to merge 6 commits intorust-embedded:mainfrom
thejpster:comment-cleanup
Open

Comment cleanup (includes #131)#149
thejpster wants to merge 6 commits intorust-embedded:mainfrom
thejpster:comment-cleanup

Conversation

@thejpster
Copy link
Copy Markdown
Contributor

Comment updates.

  • Turned on deny(missing_docs), and added missing docs
  • Turned on deny(clippy::missing_safety_doc) and added missing safety docs
  • Turned on some more useful lints
  • Clippy fixes
  • Rationalised/renamed the various CachePolicy types

Includes #131

@wt
Copy link
Copy Markdown

wt commented Apr 1, 2026

I'm curious. Did you write all of these or is this generated from some other source?

@thejpster
Copy link
Copy Markdown
Contributor Author

Mostly copy-pasted from the arm Arm ARM.

@thejpster thejpster changed the title Comment cleanup Comment cleanup (includes #131) Apr 3, 2026
@robamu
Copy link
Copy Markdown
Contributor

robamu commented Apr 16, 2026

I am a bit confused. This was rebased, but I thought this only includes docs updates, but I still see various new test cases etc. in the changes?

@robamu
Copy link
Copy Markdown
Contributor

robamu commented Apr 16, 2026

Ah, I get it. #131 was not merged yet :)

@jonathanpallant
Copy link
Copy Markdown
Contributor

#131 is in so I'll rebase this

* Turned on deny(missing_docs), and added missing docs
* Turned on deny(clippy::missing_safety_doc) and added missing safety docs
* Turned on some more useful lints
* Clippy fixes
* Rationalised/renamed the various CachePolicy types
It's still useful for unit testing, and the CLI uses it.
It just seems to make more sense than doing a linear walk of a Vec.
It all works on stable now (with RUSTC_BOOTSTRAP=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants